package com.oauth.service.members.service;

import java.util.List;

import com.oauth.service.members.beans.Member;

public interface MemberService {

	boolean updateMember(Member pMember);

	Member getMember(Long pMemberId);

	Member getMember(String pEmailId);

	Member getMember(String pEmailId, boolean pAutoCreate) throws Exception;

	void deleteMember(Long pMemberId);

	/**
	 * @return
	 */
	Long getCount();

	/**
	 * @param interval
	 * @return
	 */
	List<String> getNewUsers(int interval);

	List<String> getActiveUsers(int interval);
}